﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using OPMS_V1.DOL;
using System.Data;

namespace OPMS_V1.BOL
{
    public class GetAreafromDistrict
    {
        //Initializing the DOL Class associated with it.
        ListArea tempArea = new ListArea();

        /// <summary>
        /// This function is used for Retreiving the Names of Areas within the District
        /// </summary>
        /// <param name="selectedDistricts"></param>
        /// <returns></returns>
        public DataSet retrieveDistrictArea(string selectedDistricts)
        {
            //Retreiving the names of the Areas within the Districts
            DataSet districtData = tempArea.retrieveDistrictArea(selectedDistricts);
            return districtData;
        }
    }
}
